﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.Core.Configuration;

namespace Inovout.Report
{
    public abstract class DataSource
    {
        private string name;
        public string Name
        {
            get { return name; }
        }
        protected DataSource(IConfiguration dataSourceConfiguration)
        {
            this.name = dataSourceConfiguration.Attributes["Name"];
        }


        internal abstract ReportData[] GetReportData();
    }
}
